import React from "react"
import { createStackNavigator } from "@react-navigation/stack"
import { ExploreParamList } from "../../types"
import Explore from "../../screens/Explore/Explore"

const Stack = createStackNavigator<ExploreParamList>()
const { Navigator, Screen } = Stack

const ExploreNavigator = () => (
  <Navigator>
    <Screen
      name="Explore"
      component={Explore}
      options={{ headerTitle: "搜索" }}
    />
  </Navigator>
)

export default ExploreNavigator
